﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MvcPresentation.Models
{
    public class Customer
    {
        public int CustomerId { get; set; }
        [Required]
        [StringLength(maximumLength: 50, ErrorMessage = "The maximum length is 50 characters")]
        public string FirstName { get; set; }
        [Required]
        [StringLength(maximumLength:50, ErrorMessage = "The maximum length is 50 characters" )]
        public string LastName { get; set; }
    }
}